import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
//添加全局组件第一步，导入组件
import DoubleCounter from './components/DoubleCounter.vue'
//添加全局组件第二步，注册组件
import { createPinia } from "pinia"
createApp(App).use(store).use(router).use(createPinia()).component('DoubleCounter',DoubleCounter).mount('#app')
